package obj;

import java.io.Serializable;

public class MyObject implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8296884501918813684L;

	private String str = "";

	public MyObject() {

	}

	public void doingSomething(String strID) {
		System.out.println("[" + strID + "] prints message :" + this.str);
	}

	public void setStr(String str) {
		this.str = str;
	}

	public String getStr() {
		return str;
	}

	@Override
	public String toString() {
		StringBuffer className = new StringBuffer(getClass().getName());
		className.append("   " + this.str);
		return className.toString();
	}
}
